//
//  JXScaleButton.m
//  JiuXiao
//
//  Created by wangbo on 16/8/31.
//  Copyright © 2016年 Ed. All rights reserved.
//

#import "JXScaleButton.h"

@implementation JXScaleButton

/** 通过scale的改变改变多种参数 */
- (void)setScale:(CGFloat)scale
{
    _scale = scale;
    
    CGFloat minScale = 0.8;
    CGFloat trueScale = minScale + (1-minScale)*scale;
    self.transform = CGAffineTransformMakeScale(trueScale, trueScale);
}

@end
